﻿CREATE TABLE [dbo].[TB_Etapa] (
    [SysEtapa]       INT      NOT NULL,
    [NroEtapa]       INT      NULL,
    [SysRendicion]   INT      NULL,
    [SysEstado]      INT      NULL,
    [SysResponsable] INT      NULL,
    [FechaCreacion]  DATETIME NULL,
    [Comentario]     NTEXT    NULL,
    CONSTRAINT [PK_TB_Etapa] PRIMARY KEY CLUSTERED ([SysEtapa] ASC),
    CONSTRAINT [FK_TB_Etapa_TB_Rendiciones] FOREIGN KEY ([SysRendicion]) REFERENCES [dbo].[TB_Rendiciones] ([Sysid])
);

